//package cn.com.wms.controller;
//
//import java.io.UnsupportedEncodingException;
//
//import javax.servlet.http.HttpServletRequest;
//
//
//import org.json.JSONException;
//import org.json.JSONObject;
//import org.json.JSONString;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//
//import cn.com.wms.service.UserService;
//
//
//@RestController
//@RequestMapping("/Interface")
//public class InterfaceContorller extends BaseController{
//	
//	@Autowired
//	private UserService iUserService;//注入接口
//	
//	@RequestMapping(value = "/TestInterface", method = { RequestMethod.POST, RequestMethod.GET })
//	public String testToSendMsg(HttpServletRequest request) throws UnsupportedEncodingException{
//		request.setCharacterEncoding("gbk");
//		String msg=request.getParameter("name");
//		try {
//			JSONObject data = new org.json.JSONObject(msg);
//			String id=data.getString("id");
//			
//		} catch (JSONException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
//		return null;
//	}
//}
